68
I have a hierarchy and I need to filter only root items that match, with thier childs

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
axComboBox1.FilterInclude = EXCOMBOBOXLib.FilterIncludeEnum.exRootsWithChilds;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "R1";
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
axComboBox1.ApplyFilter();

66
I have a hierarchy and I need to filter only parent items that match, including thier childs

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
axComboBox1.FilterInclude = EXCOMBOBOXLib.FilterIncludeEnum.exItemsWithChilds;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "R1";
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("R1");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("R2");
	var_Items.InsertItem(h,null,"C1");
	var_Items.InsertItem(h,null,"C2");
axComboBox1.ApplyFilter();

558
I do not like to specify the item padding for every column I add. The question is how can I do it automatically

axComboBox1.BeginUpdate();
axComboBox1.AttachTemplate("handle AddColumn(Column){Column{Def(48)=8;Def(49)=8;AllowDragging=False;AllowSizing = True}}");
axComboBox1.HeaderAppearance = EXCOMBOBOXLib.AppearanceEnum.Etched;
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exAllLines;
axComboBox1.GridLineStyle = EXCOMBOBOXLib.GridLinesStyleEnum.exGridLinesVSolid;
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
	var_Columns.Add("Item");
	EXCOMBOBOXLib.Column var_Column = (var_Columns.Add("Pos") as EXCOMBOBOXLib.Column);
		var_Column.Position = 0;
		var_Column.Width = 32;
		var_Column.AllowSizing = false;
		var_Column.FormatColumn = "1 index ``";
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axComboBox1.EndUpdate();

472
I cannot seem to get autosearch=1 (contains) in the column object to search properly. It still only finds items that start with the typed character. I want to it look to see if the typed character(s) are contained in the item. I Can't seem to get this to work

axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.DropDownList;
axComboBox1.HeaderVisible = false;
axComboBox1.AutoSearch = true;
axComboBox1.AutoDropDown = true;
axComboBox1.IntegralHeight = true;
(axComboBox1.Columns.Add("Default") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("This is a bit of text");
	var_Items.AddItem("This is a another text");
axComboBox1.EndUpdate();

94
I can't scroll to the end of the data. What can I do

axComboBox1.ScrollBySingleLine = true;
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exRowLines;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem(0),13);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_ItemHeight(var_Items1.AddItem(1),26);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
EXCOMBOBOXLib.Items var_Items2 = axComboBox1.Items;
	var_Items2.set_ItemHeight(var_Items2.AddItem(2),36);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
EXCOMBOBOXLib.Items var_Items3 = axComboBox1.Items;
	var_Items3.set_ItemHeight(var_Items3.AddItem(3),48);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);

469
I am using the ScrollWidth/ScrollHeight property on 0 to hide the control's scroll bars, the question is that the drop down button is disappearing. What can be done so I can still show the drop down button

axComboBox1.BeginUpdate();
axComboBox1.LabelHeight = 40;
axComboBox1.ScrollWidth = 0;
axComboBox1.ScrollHeight = 0;
axComboBox1.DropDownButtonWidth = 40;
axComboBox1.EndUpdate();

514
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

axComboBox1.BeginUpdate();
(axComboBox1.Columns.Add("Item") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Pos") as EXCOMBOBOXLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
axComboBox1.FilterBarFont = (axComboBox1.Font as stdole.IFontDisp);
axComboBox1.FilterBarCaption = "`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value";
axComboBox1.FilterBarPromptPattern = "B";
axComboBox1.FilterBarPromptVisible = EXCOMBOBOXLib.FilterBarVisibleEnum.exFilterBarCompact | EXCOMBOBOXLib.FilterBarVisibleEnum.exFilterBarSingleLine | EXCOMBOBOXLib.FilterBarVisibleEnum.exFilterBarVisible | EXCOMBOBOXLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
EXCOMBOBOXLib.Column var_Column1 = axComboBox1.Columns[0];
	var_Column1.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
axComboBox1.ApplyFilter();
axComboBox1.EndUpdate();

550
I am calling Value to change the selected value, but the selection is not visible, unless I scroll to it

axComboBox1.BeginUpdate();
axComboBox1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\Access\\sample.accdb",ADODB.CursorTypeEnum.adOpenKeyset,ADODB.LockTypeEnum.adLockReadOnly,0);
axComboBox1.DataSource = (rs as ADODB.Recordset);
axComboBox1.Value = 10311;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.EnsureVisibleItem(var_Items.FocusItem);
axComboBox1.EndUpdate();

146
I've seen that you can change the visual appearance for the scroll bar. How can I do that

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtn,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtnP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSBtnH,0x3000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSBack,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exScrollHoverAll | EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,(uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240)));
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("E1") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E2") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E3") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("E4") as EXCOMBOBOXLib.Column).Width = 32;
axComboBox1.ColumnAutoResize = false;

119
I've seen that the width of the tooltip is variable. Can I make it larger

axComboBox1.ToolTipWidth = 328;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip that should be very very very very very very very long";

2
I've added a single column, but it is displayed only on a part of the control. Is there something I can do so the column will be fully displayed on the control

axComboBox1.Columns.Add("ColumnName");
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("Item 2");

473
How would you clear the displayed selection for style DropDownList. So if a user selects or searches a value in a style DropDownList, I want to know if I can reset the control back to an empty selection

// DropUp event - Occurs when the drop-down portion of the control is hidden.
private void axComboBox1_DropUp(object sender, EventArgs e)
{
	axComboBox1.Value = "";
}
//this.axComboBox1.DropUp += new EventHandler(this.axComboBox1_DropUp);

// SelectionChanged event - Fired after a new item has been selected.
private void axComboBox1_SelectionChanged(object sender, EventArgs e)
{
	System.Diagnostics.Debug.Print( "You selected: " );
	System.Diagnostics.Debug.Print( axComboBox1.Value.ToString() );
}
//this.axComboBox1.SelectionChanged += new EventHandler(this.axComboBox1_SelectionChanged);

axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.DropDownList;
axComboBox1.HeaderVisible = false;
axComboBox1.AutoSearch = true;
axComboBox1.AutoDropDown = true;
axComboBox1.IntegralHeight = true;
(axComboBox1.Columns.Add("Default") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("This is a bit of text");
	var_Items.AddItem("This is a another text");
	var_Items.DefaultItem = var_Items.InsertItem(null,null,"");
	var_Items.set_ItemPosition(0,0);
	var_Items.set_SortableItem(0,false);
axComboBox1.EndUpdate();

560
How I can programmatically select a row (with regular combobox I can set the ListIndex right up to Listcount -1)

axComboBox1.BeginUpdate();
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.set_SelectItem(var_Items[1],true);
axComboBox1.EndUpdate();

561
How I can programmatically select a row (method 2)

axComboBox1.BeginUpdate();
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
axComboBox1.Value = "Item 2";
axComboBox1.EndUpdate();

88
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

axComboBox1.CountLockedColumns = 1;
axComboBox1.BackColorLock = Color.FromArgb(240,240,240);
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("Locked") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 1") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 2") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 3") as EXCOMBOBOXLib.Column).Width = 128;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("locked"),1,"unlocked");

299
How do I vertically align a cell

axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exRowLines;
(axComboBox1.Columns.Add("MultipleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
axComboBox1.Columns.Add("VAlign");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"top");
	var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exTop);
	h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"middle");
	var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exMiddle);
	h = var_Items.AddItem("This is a bit of long text that should break the line");
	var_Items.set_CellCaption(h,1,"bottom");
	var_Items.set_CellVAlignment(h,1,EXCOMBOBOXLib.VAlignmentEnum.exBottom);

84
How do I use my own icons for my radio buttons

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.set_RadioImage(false,1);
axComboBox1.set_RadioImage(true,2);
(axComboBox1.Columns.Add("Radio") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Radio 1");
	var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
	var_Items.AddItem("Radio 3");

83
How do I use my own icons for checkbox cells

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.set_CheckImage(EXCOMBOBOXLib.CheckStateEnum.Unchecked,1);
axComboBox1.set_CheckImage(EXCOMBOBOXLib.CheckStateEnum.Checked,2);
(axComboBox1.Columns.Add("Check") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Check 1");
	var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);

479
How do I unselect/deselect the item (Simple style)
axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.Simple;
axComboBox1.Columns.Add("Def");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 3");
axComboBox1.SearchColumnIndex = 0;
axComboBox1.Value = "Item 2";
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_SelectItem(var_Items1.FocusItem,false);
axComboBox1.EndUpdate();

478
How do I unselect/deselect the item (DropDownList style)
axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.DropDown;
axComboBox1.Columns.Add("Def");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 3");
axComboBox1.SearchColumnIndex = 0;
axComboBox1.Value = "Item 2";
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_SelectItem(var_Items1.FocusItem,false);
axComboBox1.EndUpdate();

477
How do I unselect/deselect the item (DropDown style)
axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.DropDown;
axComboBox1.Columns.Add("Def");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 3");
axComboBox1.SearchColumnIndex = 0;
axComboBox1.Value = "Item 2";
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_SelectItem(var_Items1.FocusItem,false);
axComboBox1.EndUpdate();

288
How do I unselect an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,false);

155
How do I underline the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Underline = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);

244
How do I underline an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_ItemUnderline(var_Items.AddItem("underline"),true);

245
How do I underline a cell or an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <u>underline</u> only a portion of text"),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);

246
How do I underline a cell

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellUnderline(var_Items.AddItem("underline"),0,true);

325
How do I turn off the auto complete feature

axComboBox1.AutoComplete = false;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

328
How do I specify the width of the drop down window

axComboBox1.set_WidthList(null,100);
axComboBox1.AllowSizeGrip = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

327
How do I specify the minimum width of the drop down window

axComboBox1.MinWidthList = 100;
axComboBox1.AllowSizeGrip = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

329
How do I specify the minimum height of the drop down window

axComboBox1.MinHeightList = 100;
axComboBox1.AllowSizeGrip = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

92
How do I specify the indentation of the child items relative to their parents

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.Indent = 11;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");

330
How do I specify the height of the drop down window

axComboBox1.set_HeightList(null,400);
axComboBox1.MinWidthList = 100;
axComboBox1.AllowSizeGrip = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

338
How do I specify the height of the control's label

axComboBox1.LabelHeight = 34;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

93
How do I specify the column where the tree lines / hierarchy are shown

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.TreeColumnIndex = 1;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");

483
How do I sort the index column as numeric

// InsertItem event - Occurs after a new item has been inserted to Items collection.
private void axComboBox1_InsertItem(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_InsertItemEvent e)
{
	EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
		var_Items.set_CellData(e.item,1,var_Items.get_ItemToIndex(e.item));
}
//this.axComboBox1.InsertItem += new AxEXCOMBOBOXLib._IComboBoxEvents_InsertItemEventHandler(this.axComboBox1_InsertItem);

axComboBox1.BeginUpdate();
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exAllLines;
axComboBox1.ColumnAutoResize = true;
axComboBox1.ShowFocusRect = false;
axComboBox1.SingleEdit = true;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Next") as EXCOMBOBOXLib.Column);
	var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellPaddingLeft,4);
	var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exHeaderPaddingLeft,4);
EXCOMBOBOXLib.Column var_Column1 = (axComboBox1.Columns.Add("Index") as EXCOMBOBOXLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.Width = 48;
	var_Column1.FormatColumn = "(((0 := (1 index ``)) mod 3) case ( default: ``; 0 : `<r><fgcolor=B0B0B0>`; 1: ``; 2 : `<c><fgcolor=808080>` )) + str(=:0)";
	var_Column1.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
	var_Column1.SortType = EXCOMBOBOXLib.SortTypeEnum.SortUserData;
	var_Column1.Position = 0;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
	var_Items.AddItem("Item 6");
	var_Items.AddItem("Item 7");
	var_Items.AddItem("Item 8");
	var_Items.AddItem("Item 9");
	var_Items.AddItem("Item 10");
axComboBox1.EndUpdate();

229
How do I sort the child items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.SortChildren(h,0,false);

79
How do I sort descending a column, and put the sorting icon in the column's header

axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
axComboBox1.Columns[0].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;

78
How do I sort ascending a column, and put the sorting icon in the column's header

axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
axComboBox1.Columns[0].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;

72
How do I sort a column by numbers

(axComboBox1.Columns.Add("desc") as EXCOMBOBOXLib.Column).SortType = EXCOMBOBOXLib.SortTypeEnum.SortNumeric;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem(1);
	var_Items.AddItem(5);
	var_Items.AddItem(10);
	var_Items.SortChildren(0,0,false);

116
How do I show the tooltip quicker

axComboBox1.ToolTipDelay = 1;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";

181
How do I show or hide the sorting icons, but still need sorting

(axComboBox1.Columns.Add("Sorted") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
axComboBox1.Columns[0].DisplaySortIcon = false;

194
How do I show buttons for all cells in the column

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Button") as EXCOMBOBOXLib.Column);
	var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
	var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellButtonAutoWidth,true);
axComboBox1.Items.AddItem(" Button 1 ");
axComboBox1.Items.AddItem(" Button 2 ");

193
How do I show buttons for all cells in the column

(axComboBox1.Columns.Add("Button") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);

109
How do I show alternate rows in different background color

axComboBox1.BackColorAlternate = Color.FromArgb(240,240,240);
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");

559
How do I set an extra data for each item
// MouseMove event - Occurs when the user moves the mouse.
private void axComboBox1_MouseMoveEvent(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_MouseMoveEvent e)
{
	int i = axComboBox1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( i.ToString() );
	System.Diagnostics.Debug.Print( axComboBox1.Items.get_ItemData(i).ToString() );
}
//this.axComboBox1.MouseMoveEvent += new AxEXCOMBOBOXLib._IComboBoxEvents_MouseMoveEventHandler(this.axComboBox1_MouseMoveEvent);

axComboBox1.BeginUpdate();
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_ItemData(var_Items.AddItem("method 1"),"your extra data of method 1");
	var_Items.InsertItem(0,"your extra data of method 2","method 2");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.DefaultItem = var_Items1.AddItem("method 3");
	var_Items1.set_ItemData(0,"your extra data of method 3");
axComboBox1.EndUpdate();

286
How do I select an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,true);

347
How do I select a value

axComboBox1.IntegralHeight = true;
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.TreeColumnIndex = 1;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
axComboBox1.set_Select(1,"Root 1.2");

348
How do I select a value

axComboBox1.IntegralHeight = true;
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.TreeColumnIndex = 1;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1.1");
	var_Items.set_CellCaption(h,1,"Root 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 2.1"),1,"Child 2.2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2.1");
	var_Items.set_CellCaption(h,1,"Root 2.2");
	var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Child 1.1"),1,"Child 1.2");
axComboBox1.Value = "Root 1.1";

466
How do I select a NULL/empty value

axComboBox1.BeginUpdate();
axComboBox1.Style = EXCOMBOBOXLib.StyleEnum.DropDownList;
axComboBox1.Columns.Add("Items");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.DefaultItem = var_Items.InsertItem(null,null,"");
	var_Items.set_ItemPosition(0,0);
	var_Items.set_SortableItem(0,false);
axComboBox1.Value = "";
axComboBox1.EndUpdate();

114
How do I search case sensitive, using your incremental search feature

axComboBox1.AutoSearch = true;
axComboBox1.ASCIILower = "";
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
	(var_Columns.Add("exStartWith") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");

262
How do I retrieve the focused item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.FocusItem,true);

345
How do I remove the drop down's border

axComboBox1.DropDownBorder = EXCOMBOBOXLib.AppearanceEnum.None2;

69
How do I remove the control's border

axComboBox1.Appearance = EXCOMBOBOXLib.AppearanceEnum.None2;

451
How do I prevent scrolling the control's data after user does the sort

axComboBox1.EnsureOnSort = false;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.Columns[0].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;

585
How do I prevent changing the cell's state ( check-box state )
// CellStateChanging event - Fired before cell's state is about to be changed.
private void axComboBox1_CellStateChanging(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_CellStateChangingEvent e)
{
	EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
		e.newState = var_Items.get_CellState(null,e.cell);
}
//this.axComboBox1.CellStateChanging += new AxEXCOMBOBOXLib._IComboBoxEvents_CellStateChangingEventHandler(this.axComboBox1_CellStateChanging);

axComboBox1.BeginUpdate();
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("P1") as EXCOMBOBOXLib.Column);
	var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
EXCOMBOBOXLib.Column var_Column1 = (axComboBox1.Columns.Add("P2") as EXCOMBOBOXLib.Column);
	var_Column1.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column1.PartialCheck = true;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
axComboBox1.EndUpdate();

77
How do I perform my own/custom sort, using my extra strings

(axComboBox1.Columns.Add("desc") as EXCOMBOBOXLib.Column).SortType = EXCOMBOBOXLib.SortTypeEnum.SortUserData;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellData(var_Items.AddItem("A"),0,"C");
	var_Items.set_CellData(var_Items.AddItem("B"),0,"B");
	var_Items.set_CellData(var_Items.AddItem("C"),0,"A");
	var_Items.SortChildren(0,0,false);

76
How do I perform my own/custom sort, using my extra numbers

(axComboBox1.Columns.Add("desc") as EXCOMBOBOXLib.Column).SortType = EXCOMBOBOXLib.SortTypeEnum.SortUserData;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellData(var_Items.AddItem(0),0,2);
	var_Items.set_CellData(var_Items.AddItem(1),0,1);
	var_Items.set_CellData(var_Items.AddItem(2),0,0);
	var_Items.SortChildren(0,0,false);

82
How do I perform my own sorting when user clicks the column's header

axComboBox1.SortOnClick = EXCOMBOBOXLib.SortOnClickEnum.exUserSort;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("Item 2");

334
How do I lock or make read-only the control

axComboBox1.Locked = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

331
How do I let user to resize the drop down window, at runtime

axComboBox1.AllowSizeGrip = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

332
How do I let user to resize only the width of the drop down window, at runtime

axComboBox1.AllowSizeGrip = true;
axComboBox1.AllowVResize = false;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

333
How do I let user to resize only the height of the drop down window, at runtime

axComboBox1.AllowSizeGrip = true;
axComboBox1.AllowHResize = false;
axComboBox1.MinWidthList = 100;
axComboBox1.MinHeightList = 100;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");

117
How do I let the tooltip being displayed longer

axComboBox1.ToolTipPopDelay = 10000;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";

153
How do I highlight in italic the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Italic = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);

154
How do I highlight in italic the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).StrikeOut = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);

152
How do I highlight in bold the numbers greater than a value

axComboBox1.ConditionalFormats.Add("%0 >= 10",null).Bold = true;
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);

71
How do I hide the control's header bar

axComboBox1.HeaderVisible = false;

258
How do I get the parent item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemParent(var_Items.get_ItemChild(h)),true);

232
How do I get the number or count of items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.AddItem(var_Items1.ItemCount);

261
How do I get the number or count of child items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem(var_Items.get_ChildCount(h));

339
How do I get the handle of the drop down window

axComboBox1.Columns.Add(axComboBox1.hWndDropDown.ToString());

263
How do I get the handle of the cell

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_CellBold(null,var_Items.get_ItemCell(h,0),true);

257
How do I get the first child item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_ItemChild(h),true);

486
How do I get sorted the column as string, numeric, date, date and time. Also how can it be applied to drop down filter panel

axComboBox1.BeginUpdate();
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Date") as EXCOMBOBOXLib.Column);
	var_Column.SortType = EXCOMBOBOXLib.SortTypeEnum.SortDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.DisplayFilterDate = true;
	var_Column.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowFocusItem | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox | EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
EXCOMBOBOXLib.Column var_Column1 = (axComboBox1.Columns.Add("DateTime") as EXCOMBOBOXLib.Column);
	var_Column1.SortType = EXCOMBOBOXLib.SortTypeEnum.SortDateTime;
	var_Column1.DisplayFilterButton = true;
	var_Column1.DisplayFilterPattern = false;
	var_Column1.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowFocusItem | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox | EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
EXCOMBOBOXLib.Column var_Column2 = (axComboBox1.Columns.Add("Time") as EXCOMBOBOXLib.Column);
	var_Column2.SortType = EXCOMBOBOXLib.SortTypeEnum.SortTime;
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowFocusItem | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox | EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
	var_Column2.FormatColumn = "time(value)";
EXCOMBOBOXLib.Column var_Column3 = (axComboBox1.Columns.Add("Numeric") as EXCOMBOBOXLib.Column);
	var_Column3.SortType = EXCOMBOBOXLib.SortTypeEnum.SortNumeric;
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowFocusItem | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox | EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
EXCOMBOBOXLib.Column var_Column4 = (axComboBox1.Columns.Add("String") as EXCOMBOBOXLib.Column);
	var_Column4.DisplayFilterButton = true;
	var_Column4.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowFocusItem | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox | EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem(Convert.ToDateTime("1/27/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/27/2010 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,1);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
	h = var_Items.AddItem(Convert.ToDateTime("1/27/2011",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("1/27/2011 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,11);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
	h = var_Items.AddItem(Convert.ToDateTime("11/2/2010",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,1,Convert.ToDateTime("11/2/2010 9:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_CellCaption(h,2,var_Items.get_CellCaption(h,1));
	var_Items.set_CellCaption(h,3,2);
	var_Items.set_CellCaption(h,4,var_Items.get_CellCaption(h,3));
axComboBox1.Columns["DateTime"].DisplayFilterDate = false;
axComboBox1.EndUpdate();

96
How do I get ride of the rectangle arround focused item

axComboBox1.ShowFocusRect = false;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);

470
How do I get notified once the user changes the Filter For field
// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
private void axComboBox1_EditChange(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_EditChangeEvent e)
{
	System.Diagnostics.Debug.Print( "ColIndex: " );
	System.Diagnostics.Debug.Print( e.colIndex.ToString() );
	System.Diagnostics.Debug.Print( "Label: " );
	System.Diagnostics.Debug.Print( axComboBox1.get_EditText(0) );
	System.Diagnostics.Debug.Print( "FilterFor: " );
	System.Diagnostics.Debug.Print( axComboBox1.get_EditText(-1) );
}
//this.axComboBox1.EditChange += new AxEXCOMBOBOXLib._IComboBoxEvents_EditChangeEventHandler(this.axComboBox1_EditChange);

axComboBox1.BeginUpdate();
axComboBox1.FilterForVisible = true;
axComboBox1.FilterForBackColor = Color.FromArgb(240,240,240);
axComboBox1.IntegralHeight = true;
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
	var_Items.AddItem("Item 5");
axComboBox1.EndUpdate();

547
How do I get a list of interfaces the object implemenets

axComboBox1.BeginUpdate();
axComboBox1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\Access\\sample.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
// Add 'ExPropertiesList 1.0 Control Library(ExPropertiesList.dll)' reference to your project.
System.Diagnostics.Debug.Print( new EXPROPERTIESLISTLib.PropertiesList().get_Interfaces(rs) );
axComboBox1.DataSource = (rs as DAO.Recordset2);
axComboBox1.Value = 10248;
axComboBox1.EndUpdate();

287
How do I find the selected item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_SelectItem(h,true);
	var_Items.set_ItemBold(var_Items.get_SelectedItem(0),true);

294
How do I find the index of the item based on its handle

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items[var_Items.get_ItemToIndex(h)],true);

293
How do I find the handle of the item based on its index

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items[1],true);

297
How do I find an item based on a path

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.set_ItemData(var_Items.InsertItem(h,null,"Child 2"),1234);
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_FindPath("Root 1\\Child 1"),true);

296
How do I find an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_ItemBold(var_Items.get_FindItem("Child 2",0,null),true);

107
How do I filter programatically the control

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exPattern;
	var_Column.Filter = "Item*";
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("");
axComboBox1.Items.AddItem("Item 2");
axComboBox1.ApplyFilter();

63
How do I filter for items that match exactly the specified string

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Item 1";
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("Item 2");
axComboBox1.Items.AddItem("Item 3");
axComboBox1.ApplyFilter();

234
How do I expand or collapse an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);

123
How do I expand automatically the items while user types characters to searching for something ( incremental searching )

axComboBox1.ExpandOnSearch = true;
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
axComboBox1.AutoSearch = true;
(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");
	var_Items.InsertItem(var_Items.InsertItem(var_Items.AddItem("text"),null,"some text"),null,"another text");

260
How do I enumerate the visible items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.FirstVisibleItem,true);
	var_Items.set_ItemBold(var_Items.get_NextVisibleItem(var_Items.FirstVisibleItem),true);

259
How do I enumerate the siblings items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.set_ItemBold(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem),true);
	var_Items.set_ItemBold(var_Items.get_PrevSiblingItem(var_Items.get_NextSiblingItem(var_Items.FirstVisibleItem)),true);

256
How do I enumerate the root items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ItemBold(var_Items.get_RootItem(0),true);
	var_Items.set_ItemUnderline(var_Items.get_RootItem(1),true);

40
How do I ensure that the focused item is visible, after the user does the sort

axComboBox1.EnsureOnSort = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.PutItems(axComboBox1.GetItems(0),null);
axComboBox1.Columns[0].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;

108
How do I enlarge the drop down filter window

axComboBox1.FilterBarDropDownHeight = "-320";
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterBarDropDownWidth = "-320";
axComboBox1.Items.AddItem("Item 1");
axComboBox1.Items.AddItem("Item 2");

165
How do I enlarge or change the size of the control's scrollbars

axComboBox1.ScrollHeight = 18;
axComboBox1.ScrollWidth = 18;
axComboBox1.ScrollButtonWidth = 18;
axComboBox1.ScrollButtonHeight = 18;

112
How do I enable the incremental search feature within a column

axComboBox1.AutoSearch = true;
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
	(var_Columns.Add("exStartWith") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exStartWith;
	(var_Columns.Add("exContains") as EXCOMBOBOXLib.Column).AutoSearch = EXCOMBOBOXLib.AutoSearchEnum.exContains;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("text"),1,"another text");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("text"),1,"another text");

138
How do I enable resizing the columns at runtime

axComboBox1.ColumnsAllowSizing = true;
axComboBox1.MarkSearchColumn = false;
axComboBox1.HeaderVisible = false;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exVLines;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem("Item 1"),1,"Sub Item 1");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem("Item 2"),1,"Sub Item 2");

351
How do I enable resizing all the items at runtime

axComboBox1.ItemsAllowSizing = EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeAllItems;
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exHLines;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("Item 1");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
axComboBox1.Items.AddItem("Item 3");

137
How do I enable resizing ( changing the height ) the items at runtime

axComboBox1.ItemsAllowSizing = EXCOMBOBOXLib.ItemsAllowSizingEnum.exResizeItem;
axComboBox1.ScrollBySingleLine = true;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("Item 1");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_ItemHeight(var_Items.AddItem("Item 2"),48);
axComboBox1.Items.AddItem("Item 3");

180
How do I enable or disable the entire column

axComboBox1.Columns.Add("C1");
(axComboBox1.Columns.Add("Disabled") as EXCOMBOBOXLib.Column).Enabled = false;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellCaption(var_Items.AddItem(0),1,"0.1");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
	var_Items1.set_CellCaption(var_Items1.AddItem(1),1,"1.1");

268
How do I enable or disable a cell

axComboBox1.Columns.Add("C1");
axComboBox1.Columns.Add("C2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	int h = var_Items.AddItem("Cell 1");
	var_Items.set_CellCaption(h,1,"Cell 2");
	var_Items.set_CellEnabled(h,1,false);

553
How do I display the position of the item with 0-padding

axComboBox1.BeginUpdate();
(axComboBox1.Columns.Add("Items") as EXCOMBOBOXLib.Column).FormatColumn = "((1 apos ``) lpad `00`) + `. `  + value";
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.AddItem("Item D");
axComboBox1.EndUpdate();

349
How do I display the icons being selected in the control's label

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
	"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
	"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
	"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
	var_Items.set_CellImage(var_Items.AddItem("Image 1"),0,1);
	var_Items.set_CellImage(var_Items.AddItem("Image 2"),0,2);
	var_Items.set_CellImage(var_Items.AddItem("Image 3"),0,3);
axComboBox1.set_AssignEditImageOnSelect(0,true);
axComboBox1.Value = "Image 2";